package com.qidian.mes.produce.service.impl;

import com.qidian.common.pojo.MESResult;
import com.qidian.mes.pojo.Customer;
import com.qidian.mes.produce.mapper.CustomerMapper;
import com.qidian.mes.produce.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 陈俊成
 * @Company ccc
 * @Description
 * @Time 2024/10/23 16:34
 */
@Service
public class CustomerServiceImpl implements CustomerService {
    @Autowired
    CustomerMapper customerMapper;
    @Override
    public MESResult queryList() {
        return MESResult.success(customerMapper.getAll());
    }
}
